using UnityEngine;

public class Chapter03_11_0_GameObject : MonoBehaviour
{
    void Start()
    {
        var go = new GameObject("Cube");
        go.transform.position = Vector3.zero;
        go.AddComponent<MeshFilter>().mesh = Resources.GetBuiltinResource<Mesh>("Cube.fbx");
        go.AddComponent<MeshRenderer>().material =new Material(Shader.Find("Universal Render Pipeline/Lit"));
    }
}
